package com.seg.system.domain;

import com.seg.common.annotation.Excel;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


public class TSparePartV {
    private static final long serialVersionUID = 1L;

    /**
     * 物料号
     */
    @Excel(name = "物料号")
    @NotBlank(message = "物料号不能为空")
    private String materialNo;

    /**
     * 单价
     */
    @Excel(name = "单价")
    @NotNull(message = "单价不能为空")
    private BigDecimal unitPrice;

    /**
     * SAP数量
     */
    @Excel(name = "SAP数量")
    @NotNull(message = "SAP数量")
    private Long sapStock;

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Long getSapStock() {
        return sapStock;
    }

    public void setSapStock(Long sapStock) {
        this.sapStock = sapStock;
    }
}
